package com.neusoft.neuiotms.dcvm.dto;

import java.util.ArrayList;
import java.util.List;

import javax.validation.constraints.NotNull;

import com.neusoft.bizcore.web.dto.AbstractDTO;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class ModelDTO extends AbstractDTO {
    private static final long serialVersionUID = 1L;

    /** 模具名 */
    @NotNull(message = "模具名不能为空")
    private String modelName;

    /** 模具编码 */
    @NotNull(message = "模具编码不能为空")
    private String modelCode;

    @NotNull(message = "模具类别不能为空")
    private String typeId;

    /** 长度 */
    private Integer length = 0;
    /** 宽度 */
    private Integer width = 0;
    /** 高度 */
    private Integer height = 0;
    /** 缩略图 */
    private String imgUrl = "";
    /** 小地图 */
    private String mapUrl = "";

    private List<ModelVersionDTO> versionList = new ArrayList<>();

}
